package com.itcanteen.medical.common.constant;


import java.math.BigDecimal;

/**
 * @author 六金
 */
public class Constant {

    public static class ErrorMsg{
        public final static String REQUEST_PARAM_ERROR = "请求参数错误";
        public final static String SAME_USERNAME_ERROR = "不能存在相同的用户名";
        public final static String SESSION_EXPIRATION_ERROR = "会话过期";
        public static final String RECORD_NOT_FOUND = "记录未找到";
        public static final String OSS_ERROR = "oss内部报错";
        public static final String SYSTEM_BUSY = "系统繁忙";
    }

    public static class PatientConstant {
        public final static String ABNORMAL_ERROR = "用户状态异常";
        public final static String OPEN_NOTIFICATION_SUCCESS = "开通通知成功";
        public final static String CLOSE_NOTIFICATION_SUCCESS = "关闭通知成功";

        public final static Integer MAX_ALLOW_LOGIN_FAIL = 5;
        public final static Integer PHONE_SIZE = 11;
        public final static Integer MIN_EMAIL_SIZE = 11;
        public final static Integer MAX_EMAIL_SIZE = 18;
        public final static Integer MOD_DIVIDEND = 2;
        public final static Integer MAX_AGE = 120;
        public final static Integer DECIMAL_DIGITS = 10;
        public final static Integer HTTP_CODE_OK = 200;


    }

    public static class SendMsgUtilConstant{
        public final static Integer OK=200;

        public final static Integer ERROR=400;
        public final static String APP_CODE_ERROR="Invalid AppCode `not exists`";
        public final static String URL_ERROR="Invalid Url";
        public final static String PARAM_ERROR = "Invalid Param Location";


        public final static Integer UNAUTHORIZED_SERVICE =403;
        public final static String UNAUTHORIZED_ERROR ="Unauthorized";
        public final static String QUOTA_EXHAUSTED_ERROR ="Quota Exhausted";
        
    }

    public static class LocationConstant{
        public final static String LOCATION_ERROR = "获取位置信息失败,查找所有的医院";
        public final static String SUCCESS = "查找成功";
        public final static String NO_RECORD_ERROR="未找到医院";
    }

}
